package com.pingancar.creditmanage.rest.model;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * Created by liymm on 2015-01-21.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ResultModel<T> {

    Integer status;
    String info;

    T data;

    public ResultModel() {
    }

    public ResultModel(Integer status, String info, T data) {
        this.status = status;
        this.info = info;
        this.data = data;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
